<template>
    <div class="footer">
        <div class="knife_container footer_nav">
            <div class="footer_trans">
                <span class="footer_icon">
                    <i class="iconfont el-icon-knife-transport5"></i>100+ 城市次日送达
                </span>
                <span class="footer_icon"> <i class="iconfont el-icon-knife-box"></i> 全国直达</span>
                <span class="footer_icon"> <i class="iconfont el-icon-knife-safe" style="margin-top:-2px;"></i>15天换货保障</span>
                <span class="footer_icon"><i class="iconfont el-icon-knife-service" style="margin-top:-2px;"></i>远程支持服务</span>
                <span class="footer_icon"><i class="iconfont el-icon-knife-tool"></i>1年售后服务</span>
            </div>
            <div class="footer_infos font-0">
                <a href="javascript:;" class="text">关于我们</a>
                <a href="javascript:;" class="text">联系我们</a>
                <a href="javascript:;" class="text">会员制度</a>
                <a href="javascript:;" class="text">支付方式</a>
                <a href="javascript:;" class="text">售后服务</a>
                <a href="http://www.kuaidi100.com/" target="_blank" class="text">配送查询</a>
                <a href="javascript:;" class="text">发展政策</a>
                <a href="javascript:;" class="text">账户安全</a>
                <router-link tag="a" :to="{name: 'Problem'}" class="text">帮助中心</router-link>
            </div>
            <div class="footer_pic">
              <div class="footer_pic_item">
                <img :src="company" title="放心消费" height="78" />
                <p>无理由退货承诺单位</p>
              </div>
              <div class="footer_pic_item">
                <img :src="qrcode" class="qrcode" height="78" title="刀具联盟公众号" />
                <p>放心消费 扫一扫</p>
              </div>
            </div>
            <div class="footer_infos">
              <span>刀具联盟 版权所有 ©-2016</span>
              <a href="https://beian.miit.gov.cn/#/Integrated/index" class="footer_link" target="_blank">
                <span> &nbsp;&nbsp;浙ICP备15005885号-1</span>
              </a>
              <a href="http://www.beian.gov.cn/portal/index.do" class="footer_link" target="_blank">
                <span>浙公网安备 33108102000346号</span>
              </a>
            </div>
        </div>
    </div>
</template>
<script>
    export default {
      data () {
        return {
          msg: '尾部',
          company: require('../images/assure.png'),
          qrcode: require('../images/qrcode.jpg')
        }
      }
    }
</script>
<style lang="scss" scoped>
  @mixin border_bt($color){
      border-bottom: 1px solid $color
  }
  $deepcolor:#666666;
  $shallowcolor:#858585;

  .footer{
    background: #ffffff;
  }
  .footer_nav{
    padding: 27px 0 10px;
    background: #ffffff;
  }
  .footer_trans{
    font-size: 0;
    padding-bottom: 27px;
    @include border_bt(#ECECEC);
    margin-bottom: 30px;
    .footer_icon{
      // width: calc( 20% - 1px);
      text-align: center;
      display: inline-block;
      color:$deepcolor;
      font-size: 16px;
      border-left: 1px solid #ECECEC;
      line-height: 25px;
      // padding: 2.5px 0;
      padding: 2.5px 54px;
      i{
        font-size: 30px;
        vertical-align: middle;
        margin-right: 5px;
      }
      &:first-child{
        border-left:none;
        padding-left: 26px;
      }
      &:last-child{
        padding-right: 26px;
      }
    }
  }
  .footer_infos{
    font-size: 14px;
    color: $shallowcolor;
    text-align: center;
    margin-bottom: 24px;
    .text{
      font-size: 14px;
      display: inline;
      padding:0 12.2px;
      border-left: 1px solid #ECECEC;
      line-height: 20px;
      &:first-child{
          border-left:none;
      }
    }
    span{
      margin:0 10px;
    }
    .footer_link{
      &:hover{
        color: #0368CD;
      }
    }
  }
  .footer_pic{
    display: table;
    width: 340px;
    margin: 40px auto 30px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    &_item{
      display: table-cell;
      text-align: center;
    }
    .qrcode{
      border: 1px solid #74a230;
    }
  }
  .font-0{
    font-size:0;
  }
</style>
